<?php
function name($string) {
    $results = array(
        "upper" => strtoupper($string),
        "lower" => strtolower($string)
    );
    return $results;
}

$name = name("alex");

echo $name["lower"];

echo "<pre>";
var_dump($name);
